<?php

namespace Modules\Buy\Entities;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class Yonghu extends Authenticatable
{
//    他娘的，发送消息通知得使用这个Notifiable这个类
    use Notifiable;
    protected $fillable = ['email','password','email_token'];
    protected $rememberTokenName='';
//    用户对地址是一对多
//    public function adress()
//    {
//        return $this->hasMany(Adress::class,'yonghu_id','id');
//    }
}
